<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:ui="http://java.sun.com/jsf/facelets" 
      xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:f="http://java.sun.com/jsf/core">
    <h:body>
    	<ui:composition template="./templates/framework.xhtml">
			<ui:define name="content">
				<ui:include src="./templates/header.xhtml">
					<ui:param name="text" value="#{i18n['generic.back']}" />
					<ui:param name="link" value="listgroups.xhtml" />
				</ui:include>
				<h:form styleClass="primary">
					<h:inputHidden id="groupId" value="#{addGroupBean.groupId}" />
					<ui:include src="./templates/group-mask.xhtml" />
					<div class="buttons">
						<h:commandButton type="submit" value="#{i18n['generic.cancel']}" action="#{addGroupBean.update}" />
						<input type="button" value="#{i18n['generic.cancel']}" onclick="location.href='listgroups.xhtml'" />
					</div>
				</h:form>
			</ui:define>
		</ui:composition>
    </h:body>
</html>